<template>
	<view>
		<!-- 头部 -->
		<view class="header">
			<uni-icons type="back" color="#ffffff" :size="30" @click="back_page"  class="back"/>
			<text class="title">孕期专项补贴</text>
		</view>
		<!-- 中间 -->
		<view class="butiePhoto">
			<image src="https://img1.baidu.com/it/u=2903300646,28030032&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=250" class="butieimage"></image>
			<view class="butietext">
				<text >专母婴项补助申请</text>
				<text >随时提交个人资料对接经理可即时联系</text>
			</view>
		</view>
		<view class="butiePhoto">
			<image src="https://tse4-mm.cn.bing.net/th/id/OIP-C.3JpNRfgRD94y2pQeh84GVQHaEO?w=300&h=180&c=7&r=0&o=5&dpr=1.5&pid=1.7" class="butieimage"></image>
			<view class="butietext">
				<text >实时查询补贴额度</text>
				<text >补贴额度马上知</text>
			</view>
		</view>
		<!-- 底部 -->
	    <text class="intro">为您推荐</text>
		<view class="introline">		
		</view>
		 <view class="introcate">
		 	<view class="introitem">
				<view class="introitemword">
					<text>补助计算器</text>
					<text>计算补助</text>
					<text>为您提供最方便的服务</text>
				</view>
				<image src="https://tse3-mm.cn.bing.net/th/id/OIP-C.0RSvsWb_klVKdguwilM42AHaHa?w=179&h=180&c=7&r=0&o=5&dpr=1.5&pid=1.7" ></image>
			</view>
			<view class="introitem">
				<view class="introitemword">
					<text>补助问题</text>
					<text>常见问题</text>
					<text>以及联系我们</text>
				</view>
				<image src="https://img0.baidu.com/it/u=4203994708,1579661165&fm=253&app=138&size=w931&n=0&f=PNG&fmt=auto?sec=1680973200&t=54202dec772f6df6d606b6d966665b2a" ></image>
			</view>
		 </view>
	   
	</view>
		

</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods:{
			//直接返回上一级
			back_page() {
				uni.navigateBack({
					delta: 1 // 返回的页面数
				})
			},
		}
	}
</script>

<style lang="scss" scoped>
		
// 头部
	.header {
		width: 100%;
		height: 200rpx;
		background: linear-gradient(#f08988, #ff8583);
		display: flex;
		flex-direction: row;
		align-items: center;
		.back{
			margin:0 10px;
		}
		.title{
			margin: 0 auto;
			color:#fff;
			width: 90%;
			display: block;
			text-align: center;
			transform: translateX(-20px);
			font-size: 18px;
		}
	}
		// 图片信息介绍
	.butiePhoto{
			margin:20px auto;
			display: flex;
			flex-direction: column;
			height: 450rpx;
			width: 90%;
			// background-color: yellow;
		.butieimage{
			height: 350rpx;
			width: 100%;
		}
		.butietext{
			height: 100rpx;
			display: flex;
			flex-direction: row;
			width:100% ;
			text:nth-child(1){
				text-align: center;
				width: 50%;
				font-size: 14px;
				line-height: 60rpx;
				height:60rpx;
				margin: auto 0;
				color:#fff;
				background-color: #ff8583;
				border-radius: 10%/50%;
				margin-right: 30rpx;
			}
			text:nth-child(2){
				margin:auto 0;
				width: 40%;
				font-size: 14px;
				color:black;
			}
		}
	}
	
	// 推荐页面
	.intro{
		width: 100%;
		text-align: center;
		font-size: 20px;
		font-weight: 600;
		margin:10px auto;
		display: block;
	}
	.introline{
	    width: 100%;
		height: 5rpx;
		background-color: #ccc;
	}
	// 推荐页面
	.introcate{
		width: 90%;
		height: 200rpx;
		// background-color: pink;
		margin:0 auto;
		margin-top:10px;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		.introitem{
			display:flex;
			flex-direction: row;
			justify-content: space-evenly;
			align-items: center;
			width: 45%;
			height: 90%;
			background-color:#f8f7f3;
			image{
				// display: block;
				width: 80rpx;
				height: 80rpx;
				border-radius: 50%;
				margin-top: -30px;
			}
			.introitemword{
				width: 50%;
				text:nth-child(1){
					display:block;
					font-size:15px;
					color:black;
					font-weight: 500;
					width: 120px;
					margin-bottom: 10px;
				}
				text:nth-child(2){
					display: block;
					font-size:12px;
					width: 60px;
					color:#a4a4a4;
				}
				text:nth-child(3){
					display: block;
					width: 120px;
					font-size:12px;
				    color:#a4a4a4;
				}
			}
		}
	}
</style>
